package Message.Public
{
    import Framework.MQ.*;
    import Framework.Serialize.*;

    public class SBossRefreshPlan extends Object implements IMessageBase
    {
        public var mapId:int;
        public var plan:int;
        public var interval:int;
        public const _type:int = 66;
        public static var _regist:SBossRefreshPlan = new SBossRefreshPlan(true);

        public function SBossRefreshPlan(param1:Boolean = false)
        {
            if (param1)
            {
                MessageManager.instance().regist(this);
            }
            
        }

        public function getType() : int
        {
            return this._type;
        }

        public function clone() : IMessageBase
        {
            return new SBossRefreshPlan();
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.mapId);
            param1.writeInt(this.plan);
            param1.writeInt(this.interval);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.mapId = param1.readInt();
            this.plan = param1.readInt();
            this.interval = param1.readInt();
            
        }

    }
}
